package cn.lingyangwl.agile.misc.statistic.mapper;

import cn.lingyangwl.agile.misc.statistic.model.entity.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * @author shenguangyang
 */
@Mapper
public interface StatDayRecordMapper extends BaseMapper<StatDayRecord> {

    List<StatDayRecord> listAccessLog(@Param("beginDate") LocalDate beginDate, @Param("endDate") LocalDate endDate);

    List<StatDayRecord> listLogin(@Param("beginDate") LocalDate beginDate, @Param("endDate") LocalDate endDate);
}
